<template>
  <div class="section-title">
    <span class="section-title__text">
      <slot></slot>
    </span>
    <slot name="tip"></slot>
    <slot name="right"></slot>
  </div>
</template>

<script>
export default {
  name: "SectionTitle"
};
</script>

<style scoped lang="scss">
@import "~@/assets/scss/color";

.section-title {
  margin-bottom: 10px;
  line-height: 32px;
  &__text {
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    font-weight: 500;
    color: $--text-major;
    margin-right: 5px;
  }
}
</style>